<div class="mainBody-box-bg1">
	<div>
	<form method="get" id="formSearch" action="{$manageDomain}communityManage/show">
		<div class="left">所在地区：<select style="width:90px;" name="sel_province" id="sel_province">
	             </select>
         	<select style="width:90px;" name="sel_city" id="sel_city">
              	<option value="">市</option>
          	</select>
            <select style="width:90px;" name="sel_area" id="sel_area">
                <option value="">区/县</option>
            </select> 
        	社区名称：<input style="width:100px;" type="text" id="txt_community_name" value="{$community_name}" name="txt_community_name" />
        </div>
		<div class="left">
			<a id="searchButton" onclick="document.getElementById('formSearch').submit();return false;" class="buttonStyle"><span></span>搜 索</a>
		</div>
	</form>
	</div>
	<span class="action-span"><i class="action-span-add"></i><a href="{$manageDomain}communityManage/add">添加 新社区</a></span>
</div>

<div class="list-div" id="listDiv">
<table cellspacing='1' cellpadding='1' id='list-table' bgcolor="#cccccc" width="100%" class="table1">
  <tr>
  	<th width="100px" height="40" align="left">
  	<input type="checkbox" onclick="checkBoxSelectAll(this,'checkboxes','listDiv')" />
  		社区名称</th>        
    <th width="120px">所在省市区</th>
    <th>联系地址</th>    
    <th width="80">联系电话</th>
    <th width="70">邮编</th>
    <th width="70px">操作</th>
  </tr>
  {foreach from=$list item=list}
  <tr>
  	<td align="left" height="40"><input type="checkbox" name="checkboxes[]" class='idsClass' value="{$list.community_id}" />{$list.community_name}</td>
    <td align="left">{$list.province}{$list.city}{$list.area}</td>
    <td align="left">{$list.address}</td>
    <td align="center">{$list.phone}</td>
    <td align="center">{$list.postcode}</td>
    <td align="center"><a href="{$manageDomain}communityManage/edit/?id={$list.community_id}" title="编辑">编辑</a>&nbsp;&nbsp;
      <a href="{$manageDomain}communityManage/del/?id={$list.community_id}" onclick="return confirm('您确定要删除此社区吗?')" title="删除">删除</a>
      
      </td>
  </tr>
  {/foreach}
  <tr>
    <th colspan="2" height="40"><div class="left"><a class="buttonStyle" name="drop_community_id" onclick="batchDel('{$manageDomain}communityManage/batchDel/','idsClass')" id="btnSubmit"><span></span>批量删除</a></div></th>
    <th align="right" colspan="6">{$pageStr}</th>
  </tr>
</table>
</div>
